<?php
$cart = $_SESSION['cart'];
$soSp = count($cart);
?>

<form method="POST" action="/khohangtot/" name="formSearch">
  <input type="hidden" name="act" value="search">
  <input type="hidden" name="frame" value="search">
  <ul id="timkiem" class="timkiem">
    <li>Tìm kiếm sản phẩm </li>
    <li>
      <input name="keyword"  onfocus="this.value=''" value="Gõ từ khóa tìm kiếm..." size="21" />
    </li>
    <li class="tk_thumb">
        <input class="img-search" type="image" src="images/ico_search.jpg" onclick="return btnSearch_onclick()" />
    </li>
    <li><a title="khohangtot| do gia dung" href="/khohangtot/view-cart.htm" class="cart_thumb">GIỎ HÀNG </a></li>
    <li class="cart_icon"><img title="khohangtot| do gia dung" src="images/shopcart2.png" alt="Shop Cart"/></li>
    <li class="num_cart"><span>Có
      <?= $soSp ?>
      sản phẩm</span></li>
  </ul>
  <!--end #timkiem-->
</form>